package com.lap.auth.application.project.dto;

import java.io.Serial;
import com.lap.framework.entity.AbstractAudit;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "项目数据传输")
public class ProjectDto extends AbstractAudit {
  @Serial
  private static final long serialVersionUID = 42192563270085198L;

  @Schema(description = "主键")
  private Integer id;

  @Schema(description = "项目名称")
  private String name;

  @Schema(description = "项目上下文")
  private String context;

  @Schema(description = "服务类型:0-对内,1-对外")
  private Integer type;

  @Schema(description = "状态:0-禁用,1-启用")
  private Integer status;

  @Schema(description = "版本")
  private Integer version;
}
